package com.atbun.cmsservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description : 客户端看到的页面数据启动类
 * @Author : mayp
 * @Date: 2020-05-13 17:54
 */
@SpringBootApplication
@ComponentScan({"com.atbun"})// 包扫描
@MapperScan("com.atbun.cmsservice.mapper") // 扫描mapper
@EnableDiscoveryClient // Nacos服务注册中心
public class CmsApplication8004 {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication8004.class,args);
    }
}
